Uos Server 服务器管理 SSH超时断开会话

sed -i  's/#UseDNS no/UseDNS no/g' /etc/ssh/sshd_config
sed -i  's/#ClientAliveInterval 0/ClientAliveInterval 900/g' /etc/ssh/sshd_config
sed -i  's/#ClientAliveCountMax 3/ClientAliveCountMax 100/g' /etc/ssh/sshd_config